package com.wisemoresystem.seal.service;

import java.util.List;
import java.util.Map;

import com.wisemoresystem.seal.base.service.BaseService;
import com.wisemoresystem.seal.model.t_temp;
import org.springframework.stereotype.Service;

@Service
public class TempService extends BaseService {
	public t_temp selectTemp(String id) {
		String sql = "select * from t_temp t where t.status=0 and t.user_id=? and t.type='业务员'"
				+ " order by t.created desc";
		List<Map<String, Object>> list = jt.queryForList(sql,new String[]{id});
//		t_temp t = (t_temp) oc.findObjById((String)list.get(0).get("_id"), t_temp.class);
		return null;
	}
	
}


